module.exports = {
  state: {
    userName: '',
    roleId: '',
    //  url: JSON.stringify('http://localhost:8080'),
    url: process.env.API_HOST,
    i18nFlag: true
  },
  mutations: {
      setUserName(state, userName) {
        state.userName = userName
      },
      setRoleId(state, roleId) {
        state.roleId = roleId
      }
  },
  actions: {},
  getters: {
		getUrl (state) {
      return state.url
    }
	}
}